package day05;

import java.util.Scanner;

public class test1 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
        System.out.print("第一个数: ");
        double num1 = scanner.nextDouble();
        System.out.print("第二个数: ");
        double num2 = scanner.nextDouble();

        if (num1 > num2) {
            System.out.println(num1 + " > " + num2);
        } else if (num1 < num2) {
            System.out.println(num1 + " < " + num2);
        } else {
            System.out.println(num1 + " = " + num2);
        }
        scanner.close();
}
}
